-- GENERATED SPELL FOR [Jaedenar Legionnaire] --


function spell0_9862(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(10966,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9862', 534, 1)
end

function Sorts_9862(pUnit, Event)
local choix_sorts_9862 = math.random(0, 0)
if choix_sorts_9862 == 0 then
pUnit:RegisterEvent('spell0_9862', 1, 1)
end
end

function mob9862_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9862', math.random(1500, 3000), 1)
end

function mob9862_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9862_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9862_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9862, 1, 'mob9862_Action')
RegisterUnitEvent(9862, 2, 'mob9862_Leave')
RegisterUnitEvent(9862, 3, 'mob9862_Kill')
RegisterUnitEvent(9862, 4, 'mob9862_Die')
